package org.classg.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.classg.edu.entity.Course;
import org.classg.edu.vo.CoursePublishInfoVo;
import org.classg.edu.vo.front.CourseInfoFrontVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-05-18
 */
public interface CourseMapper extends BaseMapper<Course> {

    // 根据课程id获取课程最终发布数据
    CoursePublishInfoVo queryCoursePublishInfoById(String id);

    // 根据课程id查询课程详情信息
    CourseInfoFrontVo queryCourseInfoVoByCourseId(String id);
}
